package org.jetnuke.dao;

import java.util.List;

import org.jetnuke.entities.Poll;


public interface PollDAO {
	Poll retrieveByPK(int id) throws Exception;
	Poll getLast()throws Exception;
	int addNew(Poll poll)throws Exception;
	void update(Poll poll)throws Exception;
	
	List selectAllOrderTimestamp()throws Exception;
	List selectAllNotArtIDOrderTimestampDesc()throws Exception;
}
